<div id="content" class="w960 clearfix">
<!--左侧操作菜单项 -->
<?php $this->load->view_part($this->_site_path . '/member/left');?>
<!--左侧操作菜单项 -->
	
<div id="mcpmain">
      <div id="appTab">
        <ul>
          <li class="thisTab"><a href="javascript:void(0)"><span>普通文章</span></a></li>
        </ul>
      </div>
      <ul class="tabSub">
        <li <?php if($flag==0):?>class="thisTab"<?php endif;?>><a href="<?php echo base_url($this->_site_path . '/member/index/0');?>"><span>全部</span></a></li>
        <li <?php if($flag==2):?>class="thisTab"<?php endif;?>><a href="<?php echo base_url($this->_site_path . '/member/index/2');?>"><span>已审核</span></a></li>
        <li <?php if($flag==1):?>class="thisTab"<?php endif;?>><a href="<?php echo base_url($this->_site_path . '/member/index/1');?>"><span>未审核</span></a></li>
        <li <?php if($flag==3):?>class="thisTab"<?php endif;?>><a href="<?php echo base_url($this->_site_path . '/member/index/3');?>"><span>被退回</span></a></li>
      </ul>
      <!--主操作区域 -->
      <div id="mainCp">
        <h3 class="meTitle">已发布普通文章<small>(曾经发布的所有普通文章)</small></h3>
        <table width="100%" border="0" cellpadding="0" cellspacing="0" class="list">
          <thead>
            <tr>
              <th width="40%">文章标题</th>
              <th width="10%">状态 </th>
              <th width="10%">点击 </th>
              <th width="15%">发布时间 </th>
              <th width="25%">操作</th>
            </tr>
          </thead>
          <tbody>
          	<?php foreach ($lists as $v):?>
          	<tr>
          		<td align="center"><?php echo $v['title'];?></td>
          		<td align="center"><?php echo $v['status_show'];?></td>
          		<td align="center"><?php echo $v['clicks'];?></td>
          		<td align="center"><?php echo date('Y-m-d H:i', $v['created']);?></td>
          		<td align="center"><a href="<?php echo base_url($this->_site_path . '/member/article_operate/edit/' . $v['id']);?>">修改</a> | <a href="javascript:if(confirm('确定要删除吗？')){window.location='<?php echo base_url($this->_site_path . '/member/article_operate/del/' . $v['id']);?>'}">删除</a> | <a href="#">预览</a></td>
          	</tr>
          	<?php endforeach;?>
          </tbody>
          <tfoot>
            <tr>
              <td colspan="6"  align="right"><div class="pagelist pagelist-blue"><?php echo $pagination; ?></div></td>
            </tr>
          </tfoot>
        </table>
      </div>
      <!--主操作区域 -->
    </div>
</div>
